home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / faq / comp / 3b1_faq / part2 < prev   
Text File  |  1993-11-28  |  44KB  |  943 lines

  1. Newsgroups: comp.sys.3b1,comp.answers,news.answers
  2. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!usc!cs.utexas.edu!uunet!mnemosyne.cs.du.edu!nyx10!jbunch
  3. From: jbunch@nyx10.cs.du.edu (John B. Bunch)
  4. Subject: comp.sys.3b1 FAQ part2
  5. Message-ID: <1993Nov29.023735.6160@mnemosyne.cs.du.edu>
  6. Followup-To: comp.sys.3b1
  7. Summary: This Posting contains a list of Frequently Asked Questions (and
  8.      answers) about 3b1 computers.  It should be read by all who want
  9.      to participate in the comp.sys.3b1 newsgroup. 
  10. X-Disclaimer: Nyx is a public access Unix system run by the University
  11.      of Denver for the Denver community.  The University has neither
  12.      control over nor responsibility for the opinions of users.
  13. Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
  14. Reply-To: 3b1-faq@nyx.cs.du.edu
  15. Organization: Nyx, Public Access Unix at U. of Denver Math/CS dept.
  16. Date: Mon, 29 Nov 93 02:37:35 GMT
  17. Approved: news-answers-request@MIT.Edu
  18. Expires: Fri, 14 Jan 1994 00:00:00 GMT
  19. Lines: 921
  20. Xref: senator-bedfellow.mit.edu comp.sys.3b1:9237 comp.answers:2814 news.answers:15138
  21.  
  22.  
  23. Archive-name: 3b1-faq/part2
  24. Version: $Id: 3b1-faq-part2,v 2.3 1992/06/30 23:17:48 jbunch
  25.  
  26.  
  27.  
  28.  
  29. ----------------------------------------------------------------------
  30. | Answers to some frequently asked questions about the AT&T UNIX PC, |
  31. |     as well as some frequent problems, hints, and solutions.         |
  32. ----------------------------------------------------------------------
  33. [$Revision: 2.3 $ $Date: 92/06/30 23:17:48 $]
  34. Send updates to 3b1-faq@nyx.cs.du.edu.
  35.  
  36.         Part 2 of 2
  37.  
  38. This article contains answers to the following questions:
  39. 36) Can I really get 4MB of memory, even with a 1.5MB combo card, 512K RAM 
  40.     card, and 2MB of RAM on the motherboard?
  41. 37) Can I hook up a 3.5" 720K floppy drive to my UNIX PC?  How about
  42.     a 1.2MB or 1.44MB floppy drive?   Can I run both the 3.5" drive and 
  43.     the 5.25" drive on my machine somehow?
  44. 38) Can I put a larger hard disk drive in the UNIX PC?
  45. 39) How do I park the hard disk heads before moving the machine?
  46. 40) How do I open the case and get to the motherboard?
  47. 41) Why does my fan sometimes speed up and slow down?  Should I replace it?
  48. 42) Why has my clock stopped?
  49. 43) What can I do when I turn on my UNIX PC and all I see is a "green screen"?
  50. 44) What can I do when I turn on my UNIX PC and I have no video?
  51. 45) What can I do when I get lots of FDERRs when writing/formatting a floppy?
  52. 46) Why does rn fail with "Can't open /dev/tty" from the built-in modem?
  53. 47) Can I connect my Starlan board to an Ethernet?
  54. 48) Can I run SLIP (Serial Line Internet Protocol) on my UNIX PC?
  55. 49) What are the consequences of "fsck -s" (salvaging the freelist)?
  56. 50) What does the "-s" option to dismount do?
  57. 51) How do I identify what motherboard revision I have?
  58. 52) How can the monitor fail?
  59. 53) What are the LED's left side of the machine for?
  60. 54) What's /etc/update?  What does it do? 
  61. 55) Why did the time display at the top of the screen go away?
  62. 56) How do I stop that darn double-ESC mode on console windows?
  63. 57) What do I do when the machine hangs at the boot message?
  64. 58) How can the UNIX PC be made more secure?
  65. 59) How do I access the expert menus in the diagnostics?
  66.  
  67. ------------------------------------------------------------------------
  68. 36) Can I really get 4MB of memory, even with a 1.5MB combo card, 512K RAM 
  69.     card, and 2MB of RAM on the motherboard?
  70.  
  71.     The answer is yes.  It does require a simple pin-ectomy.  You
  72. need to fool the hardware to think the 512K RAM card is in a slot that
  73. doesn't physically exist on the UNIX PC.  For more information on how
  74. to do this, grab John Milton's HwNote06 from the archive sites.
  75.  
  76. ------------------------------------------------------------------------
  77. 37) Can I hook up a 3.5" 720K floppy drive to my UNIX PC?  How about
  78.     a 1.2MB or 1.44MB floppy drive?   Can I run both the 3.5" drive and 
  79.     the 5.25" drive on my machine somehow?
  80.  
  81.     Yes, to the 720K.  No, to the 1.2MB and 1.44MB.
  82.  
  83.     Putting a 720K 3.5" floppy drive is rather simple if you are
  84. just replacing the existing 360K 5.25" drive completely.  In most
  85. cases it's a one-to-one swap, providing you can get the jumper setting
  86. set correctly on the 3.5" drive.
  87.  
  88.     You can run both drives, provided you make a mechanical switch
  89. (SPDT) to change the drive select between the 5.25" 360K internal
  90. drive and the 3.5" 720K (run externally).  You need to make a cable to
  91. switch the pin 10 (FDRIVE0*) from one drive to the other.  Drilling a
  92. hole in the case above the left fan grate is a suitable spot.
  93.  
  94.     When you use the 720K drive, all you need to do is create an
  95. iv description file that has 80 cylinders instead of 40, and you get
  96. the full 800K (80 tracks, 10 sec/trk).  Makes backups go faster!
  97.  
  98. ------------------------------------------------------------------------
  99. 38) Can I put a larger hard disk drive in the UNIX PC?
  100.  
  101.     Upgrading from a 10MB, 20MB, or 40MB to a 67MB drive requires
  102. a 3B1 power supply and a 3B1 case top (the 40MB and 67MB drive is
  103. full-height).  There are other solutions to this -- you can get
  104. half-height drives that have seek times faster than the 80ms of the
  105. old 10MB and 20MB drives, and which have more disk space.  So long as
  106. the drive has a ST506/MFM interface, has less than or equal to 1024
  107. cylinders and less than or equal to 8 heads, the drive will work
  108. without *any* hardware modifications.
  109.  
  110.     To upgrade to a disk with more than 8 heads and more than 1024
  111. cylinders there are several approaches one can take.  Gaining more
  112. cylinders is the easiest of upgrades: all you need to do is replace
  113. the WD1010 disk controller (which is socketed on the motherboard at
  114. location 21H) with the pin-for-pin compatible disk controller, WD2010.
  115. The WD2010 comes in several varieties, and all seem to work for the
  116. most part (WD2010A, WD2010B, etc.).  The WD2010 is a very difficult
  117. part to come by -- Intel makes (or made) a pin-compatible version of
  118. the WD2010, the Intel 82064.  There has been some discussion on Usenet
  119. that people haven't been able to get the WD2010 to work in their older
  120. revision motherboard UNIX PC or PC7300.  These machines have a
  121. daughterboard that handles the disk circuitry, instead of the
  122. all-in-one chip that was replaced in the later models.
  123.  
  124.     The operating system, from at least release 3.0, supported an
  125. unreleased motherboard revision, P5.1.  The P5.1 revision level (like
  126. the P3...P5 that you see during the boot phase) includes some extra
  127. features such as an extra disk head select (expanding to 16 read/write
  128. disk heads) and extra drive select (allowing expansion to two
  129. simultaneous hard disks).  With the appropriate hardware modifications
  130. (all requiring some expertise in soldering and reading schematics),
  131. one could upgrade his motherboard to emulate this undocumented
  132. motherboard revision.  These upgrades weren't released to the public
  133. by either CT or AT&T during the life-cycle of the product, but were
  134. later released and made public by several people in several different
  135. forms.
  136.  
  137.     o   John Milton <...!cis.ohio-state.edu!n8emr!uncle!jbm> has a prebuilt
  138.         circuit board that offers up to 4 hard disks and 2 floppy drives, but
  139.         be forewarned that the operating system only supports the two
  140.         hard disks and one floppy drive.  If the operating system patches
  141.         could be made, John's hardware would support it.  He's offering a
  142.         prebuilt and pretested board that can be wired into the motherboard.
  143.         The motherboard wiring (jumpers) and soldering will have to be done 
  144.         as well before you can use John's board (this is not a plug in and
  145.         go situation -- it requires some time to wire).  The board and
  146.         instructions currently cost $75, but contact John for pricing.
  147.  
  148.     o   SSDL/ICUS Hard Disk Upgrade Version 2.0.
  149.     Gil Kloepfer, Jr (gil@limbic.ssdl.com) is currently (10Jan92)
  150.     offering the second version of the popular ICUS do-it-yourself
  151.     hard-disk upgrade kit.  From the announcement, answering the
  152.     question "What is it?" --
  153.     "It is a single-chip upgrade to the 3B1 that allows a second
  154.     hard disk to be added and a 4th head select line to allow
  155.     disks with more than 8 heads to be used.  It is a superset of
  156.     the functionality of the P5.1 PAL (ie. you don't need P5.1 to
  157.     use the V2.0 PAL), and completely emulates all the
  158.     functionality of the earlier ICUS V1.0 upgrade.
  159.  
  160.     "This upgrade *DOES NOT* extend the number of cylinders
  161.     (>1024).  You must purchase a WD2010 to replace the WD1010
  162.     chip on the motherboard if you wish to do this."
  163.  
  164.     Full information about availability and pricing can be
  165.     obtained from v2upgrade@limbic.ssdl.com.
  166.  
  167.     o   FIELD P5.1 PAL upgrade.  The P5.1 instructions were posted to 
  168.         unix-pc.general a long time ago, and are now archived on OSU in
  169.         the P5.1.Z file.  This requires a preprogrammed PAL chip to be made.
  170.  
  171.     The largest disk which can be handled by the UNIX PC/3B1 is:
  172.  
  173.     o   Motherboard revision P3...P5 (WD1010 disk controller)
  174.     8 heads x 1024 cyls x 16 sectors/track x 512 bytes/sector  =  67.1MB
  175.  
  176.     o   Motherboard revision P3...P5 (WD2010 disk controller)
  177.     8 heads x 1400 cyls x 16 sectors/track x 512 bytes/sector  =  91.7MB
  178.  
  179.     o   Motherboard revision P5.1 (modified) (WD1010 disk controller) 
  180.     16 heads x 1024 cyls x 16 sectors/track x 512 bytes/sector = 134.2MB
  181.  
  182.     o   Motherboard revision P5.1 (modified) (WD2010 disk controller)
  183.     16 heads x 1400 cyls x 16 sectors/track x 512 bytes/sector = 183.5MB
  184.  
  185.     NOTE: 1400 cylinders is the #define HDMAXCYL in
  186. /usr/include/sys/gdisk.h -- although the WD2010 can support up to 2048
  187. cylinders, the operating system cannot.  Also, with the multiple hard
  188. disk upgrades you can have two disks that can be as large as the above
  189. sizes for the P5.1 modified motherboard revision.
  190.  
  191.     FINAL NOTE ON THE WD2010: Some folks have reported troubles
  192. with their systems after installing the WD2010, far too many to
  193. discount as due to bad chips.  Thad Floryan was irritated enough by
  194. this to take time away from sheep-herding and solve the problem.  This
  195. problem occurs only on certain versions of the 3b1 motherboard.
  196. Short and sweet, quoting from Thad here:
  197.  
  198.     "So, in overview, the complete and correct "DRUN patch" modification 
  199.     to a 3B1 motherboard which does function with a WD1010 but does not 
  200.     function with a WD2010 is:
  201.         1. separate and lift [13N] 74123's pins 1 and 2 
  202.            from the motherboard
  203.         2. run a wire from the lifted [13N] pin 1 
  204.            to [13M] 74F10 pin 7 (ground)
  205.         3. run a wire from the lifted [13N] pin 2 
  206.            to [13K] 26LS32 pin 3
  207.         4. replace R63 per:
  208.             original:  6.81K,  1%, 1/4W
  209.             new value: 4.75K, 1%, 1/4W
  210.     Parts list:
  211.         1. new 74123 (reason for this is described below)
  212.         2. 4.75K, 1%, 1/4 W precision resistor
  213.         3. less than one foot of 30ga "wire-wrap" wire 
  214.            for the two patches"
  215.  
  216.     And additionally:
  217.  
  218.     "If your system is one that DOESN'T have the "DRUN Patch"
  219.     then putting the WD2010 in your system will cause you a LOT
  220.     of grief.  From my observations on MANY systems, it's not
  221.     always obvious whether the patch exists on one's system;
  222.     some factory runs implemented the patch along the lines
  223.     of what I described in my posting last December [excerpted
  224.     above], and some runs had the patch integrated into
  225.     (presumably) new motherboard layouts where the legs of the
  226.     74123 chip are NOT sticking up in the air.  If the resistor at
  227.     R63 has the color code bands, then the presence of 4.75K 1%
  228.     means the patch is already applied (the value of 6.81K 1%
  229.     means you have the old data separator circuit which will NOT
  230.     function properly with a WD2010); if the resistor is the RN05
  231.     type (no color bands) then you probably won't be able to read
  232.     the value and you'll either have to remove it (to read the
  233.     value) or forget the whole thing.
  234.  
  235.     The ABSENCE of a capacitor at C252 is also a good clue one's
  236.     motherboard has the DRUN patch already applied."
  237.  
  238. ------------------------------------------------------------------------
  239. -- Maintenance ---------------------------------------------------------
  240.  
  241. ------------------------------------------------------------------------
  242. 39) How do I park the hard disk heads before moving the machine?
  243.  
  244.     The Miniscribe and Hitachi disks used in the 40MB and 67MB
  245. machines parks the heads automatically (and loudly) when the power is
  246. turned off.  (That's that *clunk* sound you hear when you hit the
  247. power switch.)  Also note that many newer drives have auto-parking
  248. mechanisms -- check with your specific manufacturers for more
  249. information.
  250.  
  251.     If your drive doesn't auto-park (many Seagates don't), or you
  252. want to make extra sure that the heads are in the parked position,
  253. then after the machine is shutdown insert the Diagnostics floppy disk
  254. and boot from it.  Select "Park Disk Heads" from the Diagnostics menu.
  255.  
  256.     Note that the older 7300 machines have 10 or 20MB disks which
  257. do not auto-park.  If you're buying one used (especially at an auction
  258. or a fair), you may want to bring along a diagnostics diskette to make
  259. sure the disk is okay.
  260.  
  261. ------------------------------------------------------------------------
  262. 40) How do I open the case and get to the motherboard?
  263.  
  264.     [Courtesy of Norman Yarvin:]
  265.  
  266.     Three sets of screws hold the case together.  The first set
  267. consists of two screws underneath the keyboard retainer posts, and
  268. three screws in the rear panel.  (The keyboard retainer posts hold the
  269. keyboard to the base -- one is next to the socket for the keyboard
  270. plug.  Note the seam around the top of the retainer posts.  Remove the
  271. covers from the posts, and you'll find a screw inside each.)
  272.  
  273.     When this set of screws is removed, the top (plastic) part of
  274. the case is attached to the bottom only by some cables, which have
  275. enough slack to let you take the top of the case off, tilt it
  276. backward, and rest it on its rear behind the machine.  However, this
  277. is quite a difficult task.  This is because it is hard to get the very
  278. front of the case up; the plastic is shaped in such a way as to catch
  279. on to the metal bottom somewhere.  A bit of wrestling with the case is
  280. usually necessary here, and some people prefer to take the top part of
  281. the top part off (the next paragraph) before taking off the bottom
  282. part of the top part.
  283.  
  284.     The second set of screws holds the top part of the case
  285. together.  It consists of six screws, pointing upwards, which are
  286. found under the overhang of the case.  The only time they really need
  287. to be removed is when replacing the fan.  In addition to these screws,
  288. two or three plastic hook-and-tab latches in the front of the machine
  289. need to be released.  The top of the case must be moved outward
  290. slightly (usually with a screwdriver or finger pressure) along the
  291. joint to the right of the floppy drive in order to release the
  292. catches.  [The three plastic catches in the front are in the middle,
  293. and at about the 7th-to-10th louvers from the left and right of the
  294. case.]
  295.  
  296.     Taking off the top of the case exposes only the floppy drive,
  297. the hard disk (underneath shielding) and the power supply.  To get to
  298. the motherboard, you then have to unscrew the third set of screws --
  299. three screws at the very front of the machine.  The two latches on
  300. either side of the motherboard cover become obvious when one tries to
  301. lift up the panel, and are easily released.  The motherboard cover
  302. pivots at the rear; it can be lifted up.  To lift it up more than an
  303. inch, the power supply cable and the 10-pin video cable must be
  304. unplugged.  After that the metal shielding can be lifted and slid
  305. along the tracks and then flipped up or removed.  This exposes the
  306. motherboard.  If you need to remove the motherboard shielding
  307. completely and the monitor assembly, you need to disconnect the floppy
  308. and hard disk cables from the motherboard (note the direction of the
  309. connectors, and when replacing them be very sure that the 20-pin and
  310. 34-pin connectors are seated correctly on the associated pins).  If
  311. you have a PC7300 power supply and motherboard, your floppy drive
  312. power cable might also be connected to the motherboard.  To remove the
  313. whole assembly, in that case, you'll need to remove the power
  314. connector from the back of the floppy drive as well.
  315.  
  316.     Be careful when putting the top of the Unix PC/3B1 back on; a
  317. common cause for the machine not powering up after the cover is
  318. replaced is the 120VAC connectors (brown and blue wires crimped on)
  319. falling off the power input, or being pulled off by the hard drive as
  320. the case is closed.  The green ground wire has a tendency to get
  321. caught in the fan blades (causing the fan not to start spinning when
  322. the machine is turned on) or caught in the case itself.  Check that
  323. the fan is working after closing the case.
  324.  
  325.     As always, use your head.  Be careful when exposing any
  326. component of the Unix PC.  There are many static sensitive components;
  327. ground yourself before poking around inside.
  328.  
  329. ------------------------------------------------------------------------
  330. 41) Why does my fan sometimes speed up and slow down?  Should I replace it?
  331.  
  332.     The fans have been a problem with the UNIX PC in a lot of
  333. cases.  What happens is the 12VDC fan is connected to a thermal switch
  334. that will run the fan motor faster when the machine is hot, and then
  335. slow it down when the machine cools.  There have been occasions,
  336. however, when a fan goes from fast to slow, and then slows all the way
  337. to a dead stop.  The fan tends to collect a lot of dust and dirt, and
  338. sometimes when switching to the slow speed it goes so slow that it
  339. stops and doesn't have enough "umph" to start up again.
  340.  
  341.     Gil Kloepfer theorizes the reason for this happening is that
  342. the 12VDC fan is constantly running with too little current due to a
  343. resistor wired in series with the power supply when the thermal switch
  344. is in its normally open position.  When the fan is beginning to
  345. malfunction, it will run subtly slower, but not enough to keep enough
  346. air moving through the machine.  The thermal switch kicks-up the
  347. power, which causes the fan to move faster and cool the machine down
  348. until the switch kicks-out again.  This cycling effect keeps going
  349. until the fan become excessively weak and clogged with dirt to where
  350. it eventually stops working permanently.  But he goes on to add that,
  351. in any case, "I don't think it's just dirt."
  352.  
  353.     The next stage is the machine overheats, the power supply cuts
  354. out, and the machine powers down, then it powers up, and down, and up.
  355. If you are lucky, you catch this before major damage occurs or you
  356. take preventive measures beforehand.  Most of the time the power
  357. supply gets so hot, it warps the plastic case above it.  This is a
  358. sure sign that a UNIX PC has had a "meltdown" before.
  359.  
  360.     What can you do?  Well, you can replace the 12VDC fan with a
  361. 3" 120VAC fan.  The 120VAC fans are more robust, they produce more air
  362. current (~34CFM normally) and don't draw on the power supply any.  One
  363. drawback is that they are noisier.  Radio Shack has an appropriate
  364. 120VAC fan for $16.95, cat. no. 273-242.
  365.  
  366.     Some people can go years or forever without ever having a
  367. problem, but it just takes that one day that you aren't around and the
  368. machine goes into "meltdown" and then you'll be assured some damage
  369. somewhere.
  370.  
  371. ---------------------------------------------------------------------
  372. 42) Why has my clock stopped?
  373.  
  374.     Your battery is dead.  On the UNIX PC motherboard there is a
  375. 3.0 VDC lithium battery which keeps the real-time clock operating.
  376. Unfortunately, the battery is soldered to the motherboard in most
  377. cases.  It's either the round cylindrical canister type, or more
  378. commonly the flat disc-shaped battery.  A suitable replacement can be
  379. purchased at Radio Shack (BR-2325), but you'll need to get the disc
  380. battery holder.  If you desolder the battery from the motherboard,
  381. solder in the holder, future replacement of this battery will be much
  382. simpler.  If you are nervous about touching a soldering iron to your
  383. precious machine, ASCRC will do it for you (see above).
  384.  
  385. ------------------------------------------------------------------------
  386. -- Failures ------------------------------------------------------------
  387.  
  388. ------------------------------------------------------------------------
  389. 43) What can I do when I turn on my UNIX PC and all I see is a "green screen"?
  390.  
  391.     This symptom crops up in a lot of UNIX PC's.  Generally, the
  392. machine can be revived with only little fuss.  Open the machine down
  393. to the motherboard.  Carefully reseat all the socketed chips,
  394. especially the 68010 CPU.  Blow all of the accumulated dust out of the
  395. machine (vacuuming is not recommended due to the possibility of static
  396. discharge).  7 times out of 10 the machine will boot afterwards.  If
  397. the machine still doesn't boot, it could be something more serious.
  398. Check with the ASCRC on how you can go about getting the machine
  399. repaired.
  400.  
  401. --------------------------------------------------------------------
  402. 44) What can I do when I turn on my UNIX PC and I have no video?
  403.  
  404.     The first thing you could do is check the brightness control.
  405. After you are sure that it's not that, the problem generally goes away
  406. by replacing the power supply.  If you don't have a spare one, try
  407. asking on Usenet, or deal with ASCRC.
  408.  
  409. ------------------------------------------------------------------------
  410. 45) What can I do when I get lots of FDERRs when writing/formatting a floppy?
  411.  
  412.     Jon H. LaBadie, Boyd Ostroff, and Perry Miller have suggested
  413. that there could be accumulated dust blocking the write protect
  414. apparatus on the floppy drive.  The easiest solution for this is to
  415. get a can of compressed air, or blow real hard into the floppy
  416. aperture several times.  This generally will remove the dust or dirt
  417. from the area, and hopefully will solve the problem.  (With the light
  418. being blocked, the floppy drive is considered permanently write
  419. protected!)
  420.  
  421.     If the problem persists after you follow the simple solution,
  422. you might have to open the machine, remove the floppy drive, and
  423. perform a closer examination.  If all else fails, a standard TEAC 360K
  424. floppy drive is a one-for-one replacement.
  425.  
  426. ------------------------------------------------------------------------
  427. 46) Why does rn fail with "Can't open /dev/tty" from the built-in modem?
  428.  
  429.     The problem is a line in the term.c file.  The lines that have
  430. to be changed for rn to work are:
  431.  
  432.     Before change:
  433.  
  434.         [...]
  435.             devtty = open("/dev/tty",O_RDONLY);
  436.             if (devtty < 0) {
  437.             printf(cantopen,"/dev/tty") FLUSH;
  438.             finalize(1);
  439.             }
  440.             fcntl(devtty,F_SETFL,O_NDELAY);
  441.         [...]
  442.  
  443.     After change:
  444.  
  445.         [...]
  446.             devtty = open("/dev/tty",O_RDWR);    /* changed for UNIX PC */
  447.             if (devtty < 0) {
  448.             printf(cantopen,"/dev/tty") FLUSH;
  449.             finalize(1);
  450.             }
  451.             /* fcntl(devtty,F_SETFL,O_NDELAY);   /* changed for UNIX PC */
  452.         [...]
  453.  
  454.     This change is required because the /dev/ph* devices require
  455. DATA connections to be opened with O_RDWR, so changing the O_RDONLY
  456. (or, in some versions of rn, the constant 0) to O_RDWR will solve your
  457. problems.  Note that these changes are also required for rn-derived
  458. programs like trn.
  459.  
  460. ------------------------------------------------------------------------
  461. 47) Can I connect my Starlan board to an Ethernet?
  462.  
  463.     No, you cannot connect Starlan to an Ethernet network, at
  464. least not directly.  Starlan, or in the case of the UNIX PC, Starlan-1
  465. (1BASE5) is a 1Mbps (megabits/sec) network over twisted-pair wire.
  466. The URP protocol is used to communicate over Starlan-1 on the UNIX PC.
  467. The newer Starlan standard is Starlan-10 (10BASE2) and is 10Mbps which
  468. is more *like* Ethernet.  The protocol used is the ISO/OSI standard,
  469. and therefore its interconnectability is increased.  However, this is
  470. not compatible with the UNIX PC version.  There is an expensive item
  471. that AT&T sells, called the Starlan 1:10 Bridge, which connects the
  472. two networks together if this is a necessity, but plan to spend around
  473. $4,500 for the convenience.  (AT&T PEC Code: STARLAN 1:10 BRIDGE
  474. 2611-005.) According to AT&T Stargroup documentation, there is
  475. software available to interconnect Starlan-10 hardware to Ethernet
  476. using IEEE 802.3, TCP/IP protocol, this of course in conjunction with
  477. the Bridge could connect Starlan-1 via the Starlan 1:10 Bridge to
  478. Starlan-10, and then to Ethernet, a roundabout way, but presumably
  479. possible.
  480.  
  481.     If you want to connect your UNIX PC to a *real* Ethernet,
  482. you'll need to hunt down the AT&T UNIX PC Ethernet board.  This board
  483. runs a version of the TCP/IP drivers developed by Wollogong.  The
  484. board will require the proper cables, as well as a transceiver.  This
  485. increases the cost of Ethernet interconnectability.  The Wollogong
  486. TCP/IP drivers are an older version not supported by Wollogong
  487. anymore.  It's generally acknowledged that there are many bugs, and
  488. the throughput of the board is nowhere near what Ethernet should be
  489. getting.  (People report that throughput with the Starlan-1 board was
  490. better than the TCP/IP Ethernet board, which shouldn't be the case.)
  491.  
  492.     Thanks to the hard work of Roger Florkowski
  493. (cs.utexas.edu!taliesin!roger), UNIX PC Starlan users don't have to be
  494. limited with just uucp'ing and cu'ing over the network.  He has ported
  495. and created a bunch of BSD network utilities (r* commands).  His
  496. package, (bsdslan.cpio.Z on OSU-CIS) allows one to do remote tape
  497. operations, remote copies, and remote shell commands.
  498.  
  499. ------------------------------------------------------------------------
  500. 48) Can I run SLIP (Serial Line Internet Protocol) on my UNIX PC?
  501.  
  502.     So far there hasn't been anyone who has ported a SLIP device
  503. driver. That would be the optimal solution, but in the interim we do
  504. have an answer for those who want to run SLIP.
  505.  
  506.     There is the KA9Q/W9NK TCP/IP Version 890421.1 available for
  507. the UNIX PC.  Thanks to Phil Karn (the original developer), Gary
  508. Sanders, and Rob Stampfli, the package supports SLIP which in theory,
  509. over a modem or direct serial line (preferably 9600 baud or higher)
  510. one could use to connect to an Internet machine allowing Dialup/Direct
  511. SLIP logins.  With the pseudo-tty driver (pty) you can have multiple
  512. TELNET sessions (even on the UNIX PC side).  Built into the "net"
  513. package is FTP, TELNET, FINGER, SMTP, and others.
  514.  
  515.     KA9Q is available from OSU-CIS, Gary Sander's BBS or via
  516. anonymous uucp login on Rob's UNIX PC:
  517.  
  518.         kd8wk Any ACU 2400 16147598597 in:--in: uucp word: anonymous
  519.  
  520.     To obtain the net source, issue the following uucp command:
  521.  
  522.         $ uucp kd8wk!~/pub/netsrc.cpio.Z /usr/spool/uucppublic
  523.  
  524.     To obtain an executable for the AT&T 7300, enter the following:
  525.  
  526.         $ uucp kd8wk!~/pub/netexe.7300.Z /usr/spool/uucppublic
  527.  
  528.     System Name:     N8EMR
  529.     Phone:        614-895-2553 (19.2K Trailblazer, 2400, 1200)
  530.     Login:        hbbs 
  531.     Data Settings:    8 Bits, NO Parity, 1 Stop Bit
  532.     Times:         24hrs
  533.  
  534. ------------------------------------------------------------------------
  535. 49) What are the consequences of "fsck -s" (salvaging the freelist)?
  536.  
  537.     Jim Adams sent some information regarding the uses (and
  538. dangers) of salvaging the freelist using the fsck(1M) command.
  539.  
  540.     fsck(1M) provides a method of salvaging and reconstructing the
  541. freelist maintained by the UNIX filesystem.  It is dangerous to
  542. haphazardly do anything with the filesystem, as well as just
  543. reconstructing the freelist.  If the filesystem isn't in a good state,
  544. it's possible that the freelist could be further damaged by just
  545. salvaging it.  fsck(1M) will salvage the freelist when necessary, or
  546. when the question "SALVAGE (Y/N)?" is answered "yes".
  547.  
  548.     Jim has said that the alternative method, fsck -S, should be
  549. used if you wish to salvage the freelist.  The salvage will only be
  550. done if the filesystem is properly constructed, and nothing damaging
  551. could occur by its reconstruction.  If errors are found during the
  552. fsck phases, other than errors like "POSSIBLE FILE SIZE ERROR I=nnn"
  553. (which occurs from sparse files, also known as files with holes in
  554. them) the salvage will not be done.
  555.  
  556.     fsck(1M) is designed to be run on a mounted root filesystem,
  557. so long as the block device is used and the system is in a quiet
  558. state.  fsck(1M) can be run on the raw/character device when
  559. the filesystem isn't mounted, and this is generally much faster.
  560. fsck(1M) will automatically reboot the system without sync'ing, if the
  561. "mounted" root filesystem was modified, just as you should (since the
  562. in-core image of the filesystem would be different).  There is no
  563. "re-mount" facility on the UNIX PC, otherwise the root filesystem
  564. could just be remounted.
  565.  
  566.     Another suggestion made was to run "fsck -D" to check
  567. directories for bad blocks.  This takes longer, but is considered
  568. worth it.  (fsck -D is similar to the MSDOS CHKDSK facility.)
  569.  
  570. ------------------------------------------------------------------------
  571. 50) What does the "-s" option to dismount do?
  572.  
  573.     It should never be used.  It's an historical option (as the
  574. manual notes), used to un-mount the "Syquest" external drive.  This
  575. unfortunately causes the first hard disk to RECAL if you don't have
  576. the second disk upgrade.  With the second disk upgrade it improperly
  577. un-mounts all the filesystems, apparently not handling the /etc/mnttab
  578. file correctly for all the partitions on the second disk.
  579.  
  580.     In many people's opinions, it's much safer to use multiple
  581. /etc/umount commands to unmount multiple partitions.  This works for
  582. all cases, and there is no second guessing on what the command is
  583. actually doing.  If you want to mimic the operation of dismount, you
  584. can easily issue the "sync" command before the "umount" command.  As
  585. far as clearing the "pulled-flag" as the manual indicates, many have
  586. never had any problem just using the /etc/umount command (on floppies
  587. as well as my other partitions and hard disk)
  588.  
  589. ------------------------------------------------------------------------
  590. 51) How do I identify what motherboard revision I have?
  591.  
  592.     [Courtesy of Thad Floryan:]
  593.  
  594.     The board "schematic" number (in copper) near the left rear
  595. corner is quite useful when referencing one of the three sets of
  596. schematics in the Reference Manual.  Often the copper number is
  597. obscured by a white sticker bearing a different number.  BOTH sets of
  598. numbers "almost" uniquely identify your machine.  Peel the white
  599. sticker off and reapply it flanking the copper number.
  600.  
  601.     The copper board number will (usually) be one of 60-00222-00,
  602. 60-00225-00 or 60-00230-00.  If yours is 60-00216-00 you have my
  603. sympathy (the connector to the floppy drive may be pin-for-pin
  604. reversed from that found on all other motherboards, and you probably
  605. have the daughterboard above the motherboard).  The white paper
  606. sticker will bear a printed number something like "60-00237".
  607.  
  608.     The OTHER "number" to write down for future reference is the
  609. "REV.n" value on the white sticker normally found near the volume
  610. control sliding pot; this will be something like "REV.C", "REV.F",
  611. "REV.J", etc.
  612.  
  613.     The combination of the two sets of reference designators seems
  614. to uniquely identify all 3B1 systems I've seen.  And note that a
  615. "REV.C" on a "225" board is NOT the same as a "REV.C" on a "230"
  616. board.  And, before you ask, I have NOT been able to determine
  617. precisely what each "REV.n" represents and I doubt that information
  618. still exists even at CT (now UNISYS/NCG).
  619.  
  620. ------------------------------------------------------------------------
  621. 52) How can the monitor fail?
  622.  
  623.     [Courtesy of Rob Stampfli:]
  624.  
  625.     I have witnessed the loss of more than a few Unix-PC monitors
  626. to a phenomenon where the right side of the screen becomes
  627. increasingly compressed (nonlinear), at an exponentially increasing
  628. rate, until the monitor fails completely.  Usually, this occurs over a
  629. period of months, and it usually is observed after the monitor has
  630. been removed from service, stored, then placed back into service.
  631.  
  632.     [Rob notes a particular case which was diagnosed by his
  633. colleague, Harry Maddox, BEFORE the monitor failed completely.  He
  634. writes, "We believe that an actual failed monitor would take out an
  635. associated transistor and the flyback transformer, unless the monitor
  636. is fused, presenting a much more difficult problem to fix."  The
  637. particulars:]
  638.  
  639.     A 4.7 uF 25V non-polarizing electrolytic capacitor (C411) is
  640. bad.  C411 develops a high internal resistance and gets quite hot,
  641. which further causes it to deteriorate.  It may explode -- use
  642. caution.  C411 is located between L402 and T401 inside the monitor
  643. proper.  The value and voltage rating of this capacitor is not
  644. critical, "ESR" [equivalent series resistance] is however.
  645.  
  646.     Replace C411 with a mylar capacitor, 4-6 uF @ 25V or more,
  647. such as AT&T 535GA (4.22 uF @ 100V) or equivalent.  Mount on end with
  648. insulation on top lead.  Dress away from adjacent parts.
  649.  
  650.     Replace CAP ASAP before further damage is done.  Replace fuse
  651. if blown.  Check TR402 for Collector to Base shorts if set was not
  652. working.  Also D403 for short.
  653.  
  654.     Procedure:
  655.  
  656.     1. Remove CRT Cover (2 screws in back).
  657.     2. Remove Speaker Assembly (2 screws).
  658.     3. Remove RF Tape from bottom cover (shield).  One tape is
  659.        hidden at front of bottom shield.
  660.     4. Remove bottom shield.
  661.     5. A small part (I think a thermal sensor) is found on the
  662.        bottom of the PC board just under C411.  It is covered with
  663.        black tape.  Remove the tape and bend sensor out of the
  664.        way.
  665.     6. Remove C411 and replace with Mylar capacitor, 4-6 uF, 100V.
  666.     7. Replace sensor and tape.
  667.     8. Reassemble monitor.
  668.  
  669.     Note: the bottom shield is tricky to remove and replace if you
  670. don't unmount the monitor from its swivel mount, but it can be done.
  671. If monitor has failed completely, then check fuse (if present), TR402
  672. (C-B short), and D403 for a short.
  673.  
  674. ------------------------------------------------------------------------
  675. -- Mysteries -----------------------------------------------------------
  676.  
  677. ------------------------------------------------------------------------
  678. 53) What are the LED's left side of the machine for?
  679.  
  680.     This is from John Milton's HwNotes series #1.
  681.  
  682.     0 RED:      This is the "user LED". It can be turned on and off
  683.           with the syslocal(2) call. It is not used by any
  684.           existing applications.
  685.     1 GREEN:  This is the one most people get wrong. This LED
  686.           toggles every time there is a process context
  687.           change, and is cleared on the whole second.
  688.     2 YELLOW: This is the idle LED. When it is on, there are no
  689.           processes in the ready to run state.
  690.     3 RED:    Heart beat LED. This is toggled on the whole second.
  691.  
  692.     This and other interesting information is available in the
  693. HwNote series 1-15 that are archived on OSU.
  694.  
  695. ------------------------------------------------------------------------
  696. 54) What's /etc/update?  What does it do? 
  697.  
  698.     /etc/update is an antiquated command which is no longer
  699. necessary to be used.  It is not a shell script, but could easily be
  700. one.  The executable basically takes one argument, the number of
  701. seconds to sleep, or defaults to 30 (I believe).  It then sleeps that
  702. interval and then issues a sync(2) system call.  This is a continuous
  703. process -- it detaches itself from the current tty with the setpgrp(2)
  704. call, and closes all file descriptors 0, 1, and 2 (stdin, stdout, and
  705. stderr).  It was to be run by /etc/init, as a boot-time process, and
  706. was to remain there for the duration of the machine's uptime.
  707.  
  708. ------------------------------------------------------------------------
  709. 55) Why did the time display at the top of the screen go away?
  710.  
  711.     The time at the top of the display is provided by the program
  712. /etc/smgr, which combines the functionality of cron, /etc/update, a
  713. time display, plus maybe a few other mysterious things.  Equally
  714. mysterious is its propensity to occasionally die, leaving a stipple
  715. pattern in its place.  
  716.  
  717. As smgr does its cron processing, it logs what it is doing in
  718. /usr/adm/cron.log.  So that this file does not get too large,
  719. smgr responds to signal 17 (SIGUSR2) by truncating the log file.
  720. Unfortunately, smgr will exit if the log file is missing.
  721.  
  722. If you want to make sure this does not happen anymore, edit
  723. /etc/cleanup.wk (the script that runs weekly and sends smgr the
  724. clean up signal) and add
  725.     touch /usr/adm/cleanup.wk
  726. before the script sends the signal with "kill -17 $PID"
  727.  
  728.     Restarting smgr is thankfully unmysterious; become root and
  729. type "/etc/smgr".
  730.  
  731. ------------------------------------------------------------------------
  732. 56) How do I stop that darn double-ESC mode on console windows?
  733.  
  734.     Some programs that use the TAM (Terminal Access Method)
  735. library can leave the keyboard (really the shell window) in a strange
  736. state after leaving.  This state is characterized by each press of the
  737. ESC key injecting two 0x1b characters into the input stream.  This
  738. generally doesn't help anybody -- vi beeps too much, emacs is
  739. unusable, etc.  The fix is to issue the following ioctl from a C program:
  740.  
  741.         #include <sys/window.h>
  742.         ioctl(0, WIOCSESC, 0);    /* to turn off double-esc mode */
  743.  
  744.     If you really want it back again, do the following:
  745.  
  746.         ioctl(0, WIOCSESC, 1);    /* to turn on double-esc mode */
  747.  
  748. ------------------------------------------------------------------------
  749. 57) What do I do when the machine hangs at the boot message?
  750.  
  751.         Version #.##x
  752.         Real memory      = #######
  753.         Available memory = #######
  754.         Main board is ####
  755.  
  756.     9 times out of 10 the /etc/inittab file is either deleted,
  757. corrupted, or truncated because of some filesystem damage during a
  758. system crash.
  759.  
  760.     The machine will hang there at that Main board prompt forever
  761. since /etc/init is looking for the inittab file.  This is where it is
  762. handy to have a floppy filesystem disk with saved copy of /etc/inittab
  763. on it.  Boot the system using the "Floppy Boot Disk" (Disk 2 of ##),
  764. then insert your copy when it asks for the Floppy Filesystem Disk.
  765. Interrupt the script with <DEL> to get a "#" prompt when the first
  766. question appears.  On your floppy, if you followed the previous
  767. advice, is /etc/inittab.save, which can be happily copied to the
  768. /mnt/etc/inittab file when the hard disk root filesystem (/dev/fp002)
  769. is mounted from the floppy as /mnt.
  770.  
  771.         # umount /dev/fp002
  772.         # fsck -s /dev/rfp002
  773.         # mount /dev/fp002 /mnt
  774.         # ls -l /mnt/etc/inittab
  775.     If the file isn't there, or is corrupted:
  776.         # cp /etc/inittab.save /mnt/etc/inittab
  777.         # sync
  778.         # umount /dev/fp002
  779.         # sync
  780.         # sync
  781.         # reboot
  782.  
  783.     The other one time (out of 10), the /etc/inittab file is okay
  784. but there is a /etc/utmp.lck file on the system.  This happens in very
  785. rare race conditions involving the pututent(3C) routines.  Removing
  786. this file and rebooting will generally recover the system.
  787.  
  788. ------------------------------------------------------------------------
  789. 58) How can the UNIX PC be made more secure?
  790.  
  791.     The best way to not worry about security is to not allow users
  792. on your machine that aren't trusted.  Especially users that have shell
  793. access.
  794.  
  795.     There are several serious problems with the UNIX PC's
  796. software, specifically the User Agent (UA).  The UA (the windowing
  797. environment, also known as the Office environment) has some serious
  798. security problems.  The best solution, of course, would be to remove
  799. the entire UA system from your machine.  This isn't the easiest
  800. procedure (since there are lots of programs scattered all around the
  801. disk that are tied into the UA) and probably not the most desirable
  802. for some novice users.  What's so wrong with it?  Well, look in your
  803. trusty manuals, in section 4.  The manual UA(4) states (talking about
  804. UA configuration files):
  805.  
  806.     [...] (page 4)
  807.     EXEC and SH have a number of variations, which are used depending
  808.     on the intelligence of the process being invoked. 
  809.     [...]
  810.     The variations are specified via option characters as follows:
  811.  
  812.         -n    Run the process without a window
  813.         -w    Run the process without waiting
  814.         -d    Run the process in a dimensionless window
  815.         -p    Run the process with superuser privileges
  816.     [...]
  817.  
  818.     The "-p" option being the problem.  For a little experiment to
  819. show to a security conscious user (who still likes the UA), start out
  820. in a non-privileged user account.
  821.  
  822.     First create a file in your home directory called "Office"
  823. with the following lines:
  824.  
  825.         Name=Super User UNIX
  826.         Default = Run
  827.         Run=EXEC -pwd $SHELL
  828.  
  829.     Then type:
  830.  
  831.         $ exec /usr/bin/ua
  832.  
  833.     Select the new object that you just created ("Super User
  834. UNIX") and then at the "#" prompt type "id" for the effect.
  835.  
  836.         # id
  837.         uid=0(root) gid=0(root)
  838.  
  839.     OK, convinced?
  840.  
  841.     If you really *LOVE* the UA, you can do something about this.
  842. Protect the programs /usr/lib/ua/uasetx and /usr/lib/ua/uasig so they
  843. are not executable by "other" and only executable by a "trusted" group.
  844.  
  845.     -rwsr-x---  1 root    trusted    4268 Jan  1  1970 /usr/lib/ua/uasetx
  846.     -rwsr-x---  1 root    trusted    2068 Jan  1  1970 /usr/lib/ua/uasig
  847.  
  848.     Another problem involves UA mail-handling.  Send yourself some
  849. electronic mail.  Nothing elaborate is necessary.
  850.  
  851.         $ mail myself < /dev/null
  852.  
  853.     Select the [mailbox] icon when it comes up, and then when
  854. you're in /bin/mail, at the "?" prompt type "! /bin/sh".  Poof!  Root
  855. shell.
  856.  
  857.         # id
  858.         uid=0(root) gid=0(root)
  859.         # pwd
  860.         /etc/lddrv
  861.  
  862.     This last problem can easily be corrected with Lenny
  863. Tropiano's "email" program that is archived on OSU as "email.sh.Z".
  864. That program sets the correct user id, group id, and home directory.
  865.  
  866.     The other things to look for are covered in lots of books on
  867. UNIX security: directories with 777 permissions (world writable),
  868. setuid programs that aren't very security conscious, etc.
  869.  
  870. ------------------------------------------------------------------------
  871. 59) How do I access the expert menus in the diagnostics?
  872.  
  873.     The diagnostic floppy has a mode in it for the more
  874. experienced system tester.  This mode allows the user to skip the
  875. menus and just specify the test to run.  The diagnostic tests can be
  876. run repeatedly for testing intermittent hardware.  The diagnostic
  877. output can be sent to a parallel printer for review later, and also
  878. for unattended testing (since the output can scroll off the screen
  879. rather easily).
  880.  
  881.     To enter the expert mode, boot the diagnostic disk and type in
  882. "s4test" at the first menu prompt.  The result is the following
  883. prompt:
  884.  
  885.         expert>
  886.  
  887.     From there you can type "?" for a "semi-verbose" command
  888. syntax, and a list of many of the tests.  For more detail on what
  889. tests and subtests you can do, grab a nice file by Craig Votava
  890. (cmv@ihlpf.att.com) called "s4test.info.Z" from the OSU Archives.
  891.  
  892. ------------------------------------------------------------------------
  893. -- Credits -------------------------------------------------------------
  894.  
  895.     The following are just a few of the folks who made this list possible.
  896.     Apologies to those who may have been missed.
  897.  
  898.     James Warner Adams    <adams@ucunix.san.uc.edu>
  899.     Brad Bosch        <brad@i88.isc.com>
  900.     Brian Botton        <botton@iexist.att.com>
  901.     David Brierley        <dave@galaxia.network23.com>
  902.     Brant Cheikes        <brant@manta.pha.pa.us>
  903.     Alex S. Crain        <alex@umbc3.umbc.edu>
  904.     Mark Dapoz        <...!cs.utoronto.edu!hybrid!mdapoz>
  905.     Mike "Ford" Ditto    <ford@yoda.uucp>
  906.     Roger Florkowski    <...!cs.utexas.edu!taliesin!roger>
  907.     Thad Floryan        <thad@btr.com>
  908.     Darren Friedlien    <darren@bacchus.bacchus.com>
  909.     Mark Galassi        <rosalia@max.physics.sunysb.edu>
  910.     Robert Granvin        <rjg@sialis.mn.org>
  911.     Emmet P. Gray        <...!uunet!uiucuxc!fthood!egray>
  912.     Jan Isley        <...!gatech!bagend!jan>
  913.     Karl Kleinpaste        <karl@cis.ohio-state.edu>
  914.     Gil Kloepfer, Jr    <gil@limbic.ssdl.com>
  915.     Jon H. LaBadie        <...!princeton!jonlab!jon>
  916.     John McMillan        <jcm@pegasus.att.com>
  917.     Perry Miller        <pbm@cup.portal.com>
  918.     John Milton        <...!cis.ohio-state.edu!n8emr!uncle!jcm>
  919.     Scott H. Mueller    <scott@zorch.SF-Bay.ORG>
  920.     Boyd Ostroff        <ostroff@oswego.oswego.edu>
  921.     Arnold Robbins        <arnold@skeeve.ATL.GA.US>
  922.     Gary W. Sanders        <...!osu-cis!n8emr!gws>
  923.     Rob Stampfli        <...!osu-cis!n8emr!kd8wk!res>
  924.     Lenny Tropiano        <lenny@icus.ICUS.COM>
  925.     Craig Votava        <cmv@ihlpf.att.com>
  926.     Norman Yarvin        <yarvin-norman@cs.yale.edu>
  927.     Chris Lewis        <clewis@ferret.ocunix.on.ca>
  928.  
  929. ------------------------------------------------------------------------
  930. Local Variables:
  931. mode: outline
  932. outline-regexp: "-- [a-zA-Z]+\\|60\\|[0-9]+)"
  933. eval: (hide-body)
  934. End:
  935.  
  936.  
  937.  
  938. --
  939. John B Bunch             * * *   I don't want the world, I just want your
  940. 280 Quail St. 1st Floor  * * *            half....     -TMBG
  941. Albany, NY 12208        *  *  *          jbunch@nyx.cs.du.edu
  942. (518) 436-3810         *   *   *      Proud Albany has Gay Rights!
  943.